/*******************************************************************************
 * Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 * 
 * This software is the confidential and proprietary information of ETCORE Labs.
 * You shall not disclose such confidential information and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with ETCORE Labs. 
 * 
 * Support can be obtained from support forums at:  http://www.etcore.com/
 * /
 *******************************************************************************/
package etcore.webapp.grouptalk.common.object;

/**
 * An instance of Directory is a persistence object representing a container of
 * Groups. A directory may contains several groups.
 * 
 * @author ETCORE GroupTalk Developers
 * 
 */
public class Directory implements java.io.Serializable {

	private static final long serialVersionUID = -5338550278510425076L;
	private Integer id;
	private String name;
	private Integer parent; // parent platform code
	private Integer local = 1; // controls whether it is shown in local language
	private Integer en = 1; // controls whether it is shown in English UI
	private Integer up = 1000; // ranking value

	/** Default constructor */
	public Directory() {
	}

	public Integer getLocal() {
		return local;
	}

	public void setLocal(Integer local) {
		this.local = local;
	}

	public Integer getEn() {
		return en;
	}

	public void setEn(Integer en) {
		this.en = en;
	}

	public Integer getUp() {
		return up;
	}

	public void setUp(Integer up) {
		this.up = up;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
		;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

}